package model;

import java.util.ArrayList;

public class Deck {
	
	private ArrayList<Card> cardList = new ArrayList<Card>();
	public static final int[] value = {13,12,11,10,9,8,7,6,5,4,3,2,1};
	public static final String[] suit = {"Diamonds","Hearts","Spades","Clubs"};
	public static final String[] face = {"Ace", "King", "Queen", "Jack", "Ten", "Nine", "Eight",
		 								"Seven", "Six", "Five", "Four", "Three", "Deuce"};
	private int creationCount = 0;
	
	public Deck(){
		
		for(int x=0; x<suit.length; x++){
			for(int y=0; y<face.length; y++){
				cardList.add(new Card(face[y], suit[x], value[y]));
			}
		}
	}
	public int[] getValue() {
		return value;
	}
	public String[] getSuite() {
		return suit;
	}
	public String[] getFace() {
		return face;
	}

	public void setCreationCount(int creationCount) {
		this.creationCount = creationCount;
	}

	public int getCreationCount() {
		return creationCount;
	}


	public void setCardList(ArrayList<Card> cardList) {
		this.cardList = cardList;
	}


	public ArrayList<Card> getCardList() {
		return cardList;
	}
	
}
